home *** CD-ROM | disk | FTP | other *** search
- Subject: How to adjust subviews?
- Sent: 9/10/96 11:57 AM
- Received: 9/10/96 11:57 AM
- From: bobc@bcstec.ca.boeing.com (Bob Carpenter)
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List
-
-
- The Developer's Guide on DR5 in Chapter 4 talks about adjusting
- the subview layout, and uses ODFForm as an example. The guide
- is out-of-date here, because ODFForm does not have an implementation
- of AdjustSubViews. It's not yet clear to me how the adjusting
- is currently taking place - maybe it's in FrameShapeChanged?
- If so, then I don't see how the scrollers are getting updated.
-
- I've built a part using the Hello template. I then decided that
- I'd like to have subview capability, so I cloned the View from
- ODFForm, and stripped out the unneeded. I also grabbed
- ODFForm's CreateSubViews. It's starting to work now, but I am
- not getting the correct rendering of the subview when I drag the
- growbox around. It seems like the content is anchored to the
- growbox. When I drag the growbox and enlarge the window, the text
- content gets pulled out of view. Eventually the text cannot be seen,
- once the window has been fully enlarged.
-
- Another interesting feature; though I have cloned ODFForm's scrolling
- capability, my scrollers never appear - regardless of how small I
- drag my window.
-
- Please let me know if any of this sounds familiar, and you have a solution.
-
- Thanks.
-
- --
-
- --BobC
-
- Bob Carpenter
- Boeing Commercial Airplanes
- bob.carpenter@boeing.com